sort1(nil) -> nil
sort1(cons2(x, y)) -> insert2(x, sort1(y))
insert2(x, nil) -> cons2(x, nil)
insert2(x, cons2(v, w)) -> choose4(x, cons2(v, w), x, v)
choose4(x, cons2(v, w), y, 0) -> cons2(x, cons2(v, w))
choose4(x, cons2(v, w), 0, s1(z)) -> cons2(v, insert2(x, w))
choose4(x, cons2(v, w), s1(y), s1(z)) -> choose4(x, cons2(v, w), y, z)
↳ QTRS
↳ Non-Overlap Check
sort1(nil) -> nil
sort1(cons2(x, y)) -> insert2(x, sort1(y))
insert2(x, nil) -> cons2(x, nil)
insert2(x, cons2(v, w)) -> choose4(x, cons2(v, w), x, v)
choose4(x, cons2(v, w), y, 0) -> cons2(x, cons2(v, w))
choose4(x, cons2(v, w), 0, s1(z)) -> cons2(v, insert2(x, w))
choose4(x, cons2(v, w), s1(y), s1(z)) -> choose4(x, cons2(v, w), y, z)
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
sort1(nil) -> nil
sort1(cons2(x, y)) -> insert2(x, sort1(y))
insert2(x, nil) -> cons2(x, nil)
insert2(x, cons2(v, w)) -> choose4(x, cons2(v, w), x, v)
choose4(x, cons2(v, w), y, 0) -> cons2(x, cons2(v, w))
choose4(x, cons2(v, w), 0, s1(z)) -> cons2(v, insert2(x, w))
choose4(x, cons2(v, w), s1(y), s1(z)) -> choose4(x, cons2(v, w), y, z)
sort1(nil)
sort1(cons2(x0, x1))
insert2(x0, nil)
insert2(x0, cons2(x1, x2))
choose4(x0, cons2(x1, x2), x3, 0)
choose4(x0, cons2(x1, x2), 0, s1(x3))
choose4(x0, cons2(x1, x2), s1(x3), s1(x4))
SORT1(cons2(x, y)) -> INSERT2(x, sort1(y))
INSERT2(x, cons2(v, w)) -> CHOOSE4(x, cons2(v, w), x, v)
CHOOSE4(x, cons2(v, w), s1(y), s1(z)) -> CHOOSE4(x, cons2(v, w), y, z)
CHOOSE4(x, cons2(v, w), 0, s1(z)) -> INSERT2(x, w)
SORT1(cons2(x, y)) -> SORT1(y)
sort1(nil) -> nil
sort1(cons2(x, y)) -> insert2(x, sort1(y))
insert2(x, nil) -> cons2(x, nil)
insert2(x, cons2(v, w)) -> choose4(x, cons2(v, w), x, v)
choose4(x, cons2(v, w), y, 0) -> cons2(x, cons2(v, w))
choose4(x, cons2(v, w), 0, s1(z)) -> cons2(v, insert2(x, w))
choose4(x, cons2(v, w), s1(y), s1(z)) -> choose4(x, cons2(v, w), y, z)
sort1(nil)
sort1(cons2(x0, x1))
insert2(x0, nil)
insert2(x0, cons2(x1, x2))
choose4(x0, cons2(x1, x2), x3, 0)
choose4(x0, cons2(x1, x2), 0, s1(x3))
choose4(x0, cons2(x1, x2), s1(x3), s1(x4))
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
SORT1(cons2(x, y)) -> INSERT2(x, sort1(y))
INSERT2(x, cons2(v, w)) -> CHOOSE4(x, cons2(v, w), x, v)
CHOOSE4(x, cons2(v, w), s1(y), s1(z)) -> CHOOSE4(x, cons2(v, w), y, z)
CHOOSE4(x, cons2(v, w), 0, s1(z)) -> INSERT2(x, w)
SORT1(cons2(x, y)) -> SORT1(y)
sort1(nil) -> nil
sort1(cons2(x, y)) -> insert2(x, sort1(y))
insert2(x, nil) -> cons2(x, nil)
insert2(x, cons2(v, w)) -> choose4(x, cons2(v, w), x, v)
choose4(x, cons2(v, w), y, 0) -> cons2(x, cons2(v, w))
choose4(x, cons2(v, w), 0, s1(z)) -> cons2(v, insert2(x, w))
choose4(x, cons2(v, w), s1(y), s1(z)) -> choose4(x, cons2(v, w), y, z)
sort1(nil)
sort1(cons2(x0, x1))
insert2(x0, nil)
insert2(x0, cons2(x1, x2))
choose4(x0, cons2(x1, x2), x3, 0)
choose4(x0, cons2(x1, x2), 0, s1(x3))
choose4(x0, cons2(x1, x2), s1(x3), s1(x4))
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
INSERT2(x, cons2(v, w)) -> CHOOSE4(x, cons2(v, w), x, v)
CHOOSE4(x, cons2(v, w), s1(y), s1(z)) -> CHOOSE4(x, cons2(v, w), y, z)
CHOOSE4(x, cons2(v, w), 0, s1(z)) -> INSERT2(x, w)
sort1(nil) -> nil
sort1(cons2(x, y)) -> insert2(x, sort1(y))
insert2(x, nil) -> cons2(x, nil)
insert2(x, cons2(v, w)) -> choose4(x, cons2(v, w), x, v)
choose4(x, cons2(v, w), y, 0) -> cons2(x, cons2(v, w))
choose4(x, cons2(v, w), 0, s1(z)) -> cons2(v, insert2(x, w))
choose4(x, cons2(v, w), s1(y), s1(z)) -> choose4(x, cons2(v, w), y, z)
sort1(nil)
sort1(cons2(x0, x1))
insert2(x0, nil)
insert2(x0, cons2(x1, x2))
choose4(x0, cons2(x1, x2), x3, 0)
choose4(x0, cons2(x1, x2), 0, s1(x3))
choose4(x0, cons2(x1, x2), s1(x3), s1(x4))
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
INSERT2(x, cons2(v, w)) -> CHOOSE4(x, cons2(v, w), x, v)
CHOOSE4(x, cons2(v, w), 0, s1(z)) -> INSERT2(x, w)
Used ordering: Combined order from the following AFS and order.
CHOOSE4(x, cons2(v, w), s1(y), s1(z)) -> CHOOSE4(x, cons2(v, w), y, z)
cons2 > [INSERT1, 0] > CHOOSE2
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
CHOOSE4(x, cons2(v, w), s1(y), s1(z)) -> CHOOSE4(x, cons2(v, w), y, z)
sort1(nil) -> nil
sort1(cons2(x, y)) -> insert2(x, sort1(y))
insert2(x, nil) -> cons2(x, nil)
insert2(x, cons2(v, w)) -> choose4(x, cons2(v, w), x, v)
choose4(x, cons2(v, w), y, 0) -> cons2(x, cons2(v, w))
choose4(x, cons2(v, w), 0, s1(z)) -> cons2(v, insert2(x, w))
choose4(x, cons2(v, w), s1(y), s1(z)) -> choose4(x, cons2(v, w), y, z)
sort1(nil)
sort1(cons2(x0, x1))
insert2(x0, nil)
insert2(x0, cons2(x1, x2))
choose4(x0, cons2(x1, x2), x3, 0)
choose4(x0, cons2(x1, x2), 0, s1(x3))
choose4(x0, cons2(x1, x2), s1(x3), s1(x4))
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
CHOOSE4(x, cons2(v, w), s1(y), s1(z)) -> CHOOSE4(x, cons2(v, w), y, z)
[cons, s1] > CHOOSE3
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
sort1(nil) -> nil
sort1(cons2(x, y)) -> insert2(x, sort1(y))
insert2(x, nil) -> cons2(x, nil)
insert2(x, cons2(v, w)) -> choose4(x, cons2(v, w), x, v)
choose4(x, cons2(v, w), y, 0) -> cons2(x, cons2(v, w))
choose4(x, cons2(v, w), 0, s1(z)) -> cons2(v, insert2(x, w))
choose4(x, cons2(v, w), s1(y), s1(z)) -> choose4(x, cons2(v, w), y, z)
sort1(nil)
sort1(cons2(x0, x1))
insert2(x0, nil)
insert2(x0, cons2(x1, x2))
choose4(x0, cons2(x1, x2), x3, 0)
choose4(x0, cons2(x1, x2), 0, s1(x3))
choose4(x0, cons2(x1, x2), s1(x3), s1(x4))
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
SORT1(cons2(x, y)) -> SORT1(y)
sort1(nil) -> nil
sort1(cons2(x, y)) -> insert2(x, sort1(y))
insert2(x, nil) -> cons2(x, nil)
insert2(x, cons2(v, w)) -> choose4(x, cons2(v, w), x, v)
choose4(x, cons2(v, w), y, 0) -> cons2(x, cons2(v, w))
choose4(x, cons2(v, w), 0, s1(z)) -> cons2(v, insert2(x, w))
choose4(x, cons2(v, w), s1(y), s1(z)) -> choose4(x, cons2(v, w), y, z)
sort1(nil)
sort1(cons2(x0, x1))
insert2(x0, nil)
insert2(x0, cons2(x1, x2))
choose4(x0, cons2(x1, x2), x3, 0)
choose4(x0, cons2(x1, x2), 0, s1(x3))
choose4(x0, cons2(x1, x2), s1(x3), s1(x4))
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
SORT1(cons2(x, y)) -> SORT1(y)
cons2 > SORT1
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
sort1(nil) -> nil
sort1(cons2(x, y)) -> insert2(x, sort1(y))
insert2(x, nil) -> cons2(x, nil)
insert2(x, cons2(v, w)) -> choose4(x, cons2(v, w), x, v)
choose4(x, cons2(v, w), y, 0) -> cons2(x, cons2(v, w))
choose4(x, cons2(v, w), 0, s1(z)) -> cons2(v, insert2(x, w))
choose4(x, cons2(v, w), s1(y), s1(z)) -> choose4(x, cons2(v, w), y, z)
sort1(nil)
sort1(cons2(x0, x1))
insert2(x0, nil)
insert2(x0, cons2(x1, x2))
choose4(x0, cons2(x1, x2), x3, 0)
choose4(x0, cons2(x1, x2), 0, s1(x3))
choose4(x0, cons2(x1, x2), s1(x3), s1(x4))